package com.mfangsoft.zhuangjialong.integration.orderproducts.model;

import java.io.Serializable;

/**
 * table t_biz_order_products
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class BaseOrderProducts implements Serializable {
    /**
     * column id
     *
     * @MLTH_generated
     */
    private Integer id;

    /**
     *   缩略图路径
     * column image_url
     *
     * @MLTH_generated
     */
    private String image_url;

    /**
     *   产品型号
     * column info
     *
     * @MLTH_generated
     */
    private String info;

    /**
     *   购买数量
     * column num
     *
     * @MLTH_generated
     */
    private String num;

    /**
     *   产品单价
     * column price
     *
     * @MLTH_generated
     */
    private Integer price;

    /**
     *   产品id
     * column product_id
     *
     * @MLTH_generated
     */
    private Integer product_id;

    /**
     *   产品名称
     * column product_name
     *
     * @MLTH_generated
     */
    private String product_name;

    /**
     *   产品总价
     * column total_price
     *
     * @MLTH_generated
     */
    private Integer total_price;

    /**
     *   订单id
     * column order_id
     *
     * @MLTH_generated
     */
    private Integer order_id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_biz_order_products
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *   缩略图路径
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getImage_url() {
        return image_url;
    }

    /**
     *   缩略图路径
     * @param image_url the value for 
     *
     * @MLTH_generated
     */
    public void setImage_url(String image_url) {
        this.image_url = image_url == null ? null : image_url.trim();
    }

    /**
     *   产品型号
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getInfo() {
        return info;
    }

    /**
     *   产品型号
     * @param info the value for 
     *
     * @MLTH_generated
     */
    public void setInfo(String info) {
        this.info = info == null ? null : info.trim();
    }

    /**
     *   购买数量
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getNum() {
        return num;
    }

    /**
     *   购买数量
     * @param num the value for 
     *
     * @MLTH_generated
     */
    public void setNum(String num) {
        this.num = num == null ? null : num.trim();
    }

    /**
     *   产品单价
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getPrice() {
        return price;
    }

    /**
     *   产品单价
     * @param price the value for 
     *
     * @MLTH_generated
     */
    public void setPrice(Integer price) {
        this.price = price;
    }

    /**
     *   产品id
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getProduct_id() {
        return product_id;
    }

    /**
     *   产品id
     * @param product_id the value for 
     *
     * @MLTH_generated
     */
    public void setProduct_id(Integer product_id) {
        this.product_id = product_id;
    }

    /**
     *   产品名称
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getProduct_name() {
        return product_name;
    }

    /**
     *   产品名称
     * @param product_name the value for 
     *
     * @MLTH_generated
     */
    public void setProduct_name(String product_name) {
        this.product_name = product_name == null ? null : product_name.trim();
    }

    /**
     *   产品总价
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getTotal_price() {
        return total_price;
    }

    /**
     *   产品总价
     * @param total_price the value for 
     *
     * @MLTH_generated
     */
    public void setTotal_price(Integer total_price) {
        this.total_price = total_price;
    }

    /**
     *   订单id
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getOrder_id() {
        return order_id;
    }

    /**
     *   订单id
     * @param order_id the value for 
     *
     * @MLTH_generated
     */
    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", image_url=").append(image_url);
        sb.append(", info=").append(info);
        sb.append(", num=").append(num);
        sb.append(", price=").append(price);
        sb.append(", product_id=").append(product_id);
        sb.append(", product_name=").append(product_name);
        sb.append(", total_price=").append(total_price);
        sb.append(", order_id=").append(order_id);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}